<div ng-controller="modelstackCtrl"	class="clearfix script-content content-byc">
  <div class="wrapper-md">

	<div class="panel panel-default">
		<div class="col-md-12 search-box m-b-md" style="float: none;">
			<div class="legend">查询条件</div>
			<div class="search-content">
				<div class="form-group">
					<label class="control-label">名称：</label> <input type="name"
						ng-model="searchByName" class="form-control input-sm"
						placeholder="" aria-controls="DataTables_Table_3">
				</div>
        <!-- <div class="form-group">
            <label class="control-label">属性：</label>
            <select class="form-control" ng-model="$parent.popr">
               <option value="">全部</option>
              <option  value="0"> 共有</option>
              <option  value="1"> 私有</option>
            </select>
        </div> -->
  <!--       <div class="form-group">
            <label class="control-label">镜像：</label>
            <select class="form-control" ng-model="$parent.repositoryId">
               <option value="">全部</option>
              <option ng-repeat="(key,item) in warehoseData" value="{{key}}" ng-bind="item"></option>
            </select>
        </div>
        <div class="form-group">
            <label class="control-label">集群：</label>
            <select class="form-control" ng-model="$parent.type">
                <option value="">全部</option>
              <option ng-repeat="(key,item) in typeData" value="{{key}}" ng-bind="item"></option>
            </select>
        </div>
        <div class="form-group">
            <label class="control-label">环境：</label>
            <select class="form-control" ng-model="$parent.type">
                <option value="">全部</option>
              <option ng-repeat="(key,item) in typeData" value="{{key}}" ng-bind="item"></option>
            </select>
        </div>-->
			</div>
			<div class="search-btn">
				<button class="btn btn-primary w-xs m-r" ng-click="search(1)">
					<i class="fa fa-search"></i> 查询
				</button>
				<button class="btn btn-info w-xs m-r" ng-click="goAction(1)">
					<i class="fa fa-plus"></i> 新增
				</button>
			  <button class="btn btn-danger w-xs m-r" ng-click="deteleAll()" ng-disabled="operation.isBatch1"><i class="fa fa-trash-o fa-lg"></i> 批量删除</button>
  <button class="btn btn-info w-xs m-r" ng-click="gohistory($event)">历史记录</button>
      </div>
		</div>

		<div  ng-show="isListView">
			<div class="dataTables_wrapper form-inline">
				<div class="row">
					<div class="col-sm-12" style="margin-top: -10px;">
            <tabset class="tab-container">
              <tab  >
                <tab-heading>
                  Openshift
                </tab-heading>
                <div class="row panel" style="padding-top: 10px" data-ng-include="'/statics/tpl/adhibition/model/tabs.html'">
                </div>
              </tab>

            </tabset>

					</div>
				</div>
			</div>
		</div>
	</div>
</div>
<div >
  <div ng-if="showHistory" ng-hide-detail="" class="animated tab-detail"
       ng-class="{true:'bounceInRight',false:'bounceOutRight'}[isActive]">
       <div class="col-md-12" >
         <div class="panel panel-default" style="padding:0;">
           <div class="panel-heading font-bold">
             <span class="p-l-6">历史记录</span>
           </div>
           <div class="panel-body pmb-block" style="border:none;">
             <div class="form-horizontal">
               <div ng-controller="modelhistoryModalCtrl" class="row panel pad-10"data-ng-include="'/statics/tpl/adhibition/model/historymessage.html'">
               </div>
             </div>
             <div class="detail-go-back" ng-click="goBack()"><i class="fa fa-angle-right"></i></div>
           </div>
         </div>
       </div>
  </div>
</div>
</div>
